lsm_battery_record_copy(3) | Libstoragemgmt C API Manual | lsm_battery_record_copy(3) |
NAME¶
lsm_battery_record_copy - Duplicates a battery record.
SYNOPSIS¶
lsm_battery * lsm_battery_record_copy (lsm_battery *b);
ARGUMENTS¶
- b
- Pointer of lsm_battery to duplicate.
VERSION¶
1.3
DESCRIPTION¶
Duplicates a lsm_battery record.
RETURN¶
Pointer of lsm_battery. NULL on memory allocation failure or invalid lsm_battery pointer. Should be freed by lsm_battery_record_free.
lsm_battery_record_copy | January 2023 |